Draft Rectangle/de

Draft Rechteck

Menüeintrag
Zeichnen → Rechteck
2D-Entwurf → Rechteck
Arbeitsbereich
Draft, BIM
Standardtastenkürzel
R E
Eingeführt in Version
-
Siehe auch
Part Würfel

Beschreibung

Der Befehl Draft Rechteck erstellt ein Rechteck aus zwei Punkten auf der aktuellen Arbeitsebene.

Du kannst optional eine 45-Grad-Fase oder eine runde Verrundung zu jeder Ecke des Rechtecks hinzufügen, und du kannst das Rechteck in eine Reihe von gleich großen Reihen und Spalten unterteilen.

Ein durch zwei Punkte festgelegtes Rechteck

Anwendung

Siehe auch: Draft Ablage, Draft Einrasten und Draft Beschränken.

  1. There are several ways to invoke the command:
    • Press the Rectangle button.
    • Draft: Select the Drafting → Rectangle option from the menu.
    • BIM: Select the 2D Drafting → Rectangle option from the menu.
    • Use the keyboard shortcut: R then E.
  2. The Rectangle task panel opens. See Options for more information.
  3. Pick the first point in the 3D view, or type coordinates and press the Enter point button.
  4. Pick the second point in the 3D view, or type coordinates and press the Enter point button. This point must not be constrained to the X, Y or Z axis.

Options

The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 1.0).

Notes

Preferences

See also: Preferences Editor and Draft Preferences.

Properties

See also: Property editor.

A Draft Rectangle object is derived from a Part Part2DObject and inherits all its properties. It also has the following additional properties:

Data

Draft

View

Draft

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a Draft Rectangle use the make_rectangle method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeRectangle method.

rectangle = make_rectangle(length, height, placement=None, face=None, support=None)

Beispiel:

import FreeCAD as App
import Draft

doc = App.newDocument()

rectangle1 = Draft.make_rectangle(4000, 1000)
rectangle2 = Draft.make_rectangle(1000, 4000)

zaxis = App.Vector(0, 0, 1)
p3 = App.Vector(1000, 1000, 0)
place3 = App.Placement(p3, App.Rotation(zaxis, 45))

rectangle3 = Draft.make_rectangle(3500, 250, placement=place3)

doc.recompute()